home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_doom / deep870s.zip / DEEP.BAT < prev    next >
DOS Batch File  |  1996-04-12  |  1KB  |  44 lines

  1. @echo off
  2. rem - Make sure your system is set up correctly ! (also see VIRTUAL.BAT)
  3. rem -
  4. rem   Be sure CONFIG.SYS has at least the following:
  5. rem
  6. rem      HIMEM.SYS 
  7. rem      FILES=20 (minimum)  FILES=40 recommended
  8. rem      -NO- QDPMI (QEMM only)
  9. rem
  10. rem   You will get Filexxx NOT FOUND messages if FILES is too low a value!
  11. rem -
  12. rem   For Windows, you need WINDPMI.386 in SYSTEM.INI, see README.DOC
  13. rem
  14. rem   --- Use UNIVBE if your video comes up as not supported ---
  15.  
  16. rem   There is NO .INI file, type DEEP to start!
  17. rem - This batch file is REQUIRED to test levels (registered)
  18. rem - See README.DOC and online help for virtual memory information
  19. rem - Delete or comment (rem) IF EXIST, VIRTUAL.BAT, SET for no swap file
  20.  
  21. IF EXIST DEEP.SWP goto :gotswap    // is there a swap file?
  22.  
  23. call VIRTUAL.BAT                   //  if not allocate a swap file
  24.  
  25. :gotswap
  26. SET DPMIMEM=SWAPFILE DEEP.SWP
  27.  
  28. DEEP32 -mustexist %1 %2 %3 %4 %5 %6 %7 %8 %9 
  29. :checklevel
  30. if errorlevel 166 goto exit
  31. if not errorlevel 101 goto abort
  32. if errorlevel 101 call DEEPPLAY.BAT
  33. @echo off
  34. del  DEEPPLAY.BAT
  35. DEEP32 -mustexist
  36. goto checklevel
  37. :abort
  38. echo DeeP aborted
  39. pause
  40. rem  next SET reset is required for some developers
  41. :exit       
  42. SET DPMIMEM=
  43. echo.
  44.